<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.con>li{
				display: inline-block;
				position: relative;
				width: 100px;
			}
			li li{
				
				display: none;
			}
			.con>li:hover li{
				display: block;
				width: 100px;
			}
			li>ul{
				position: absolute;
				left: -40px;
			}
		</style>
	</head>
	<body>
		<ul class="con">
			<li>一级菜单
				<ul>
					<li>二级菜单</li>
					<li>二级菜单</li>
					<li>二级菜单</li>
					<li>二级菜单</li>
				</ul>
			</li>
			<li>一级菜单
				<ul>
					<li>二级菜单</li>
					<li>二级菜单</li>
					<li>二级菜单</li>
					<li>二级菜单</li>
				</ul>
			</li>
			<li>一级菜单
				<ul>
					<li>二级菜单</li>
					<li>二级菜单</li>
					<li>二级菜单</li>
					<li>二级菜单</li>
				</ul>
			</li>
		</ul>
		<div>这是文字1</div>
		<div>这是文字2</div>
		<div>这是文字3</div>
		<div style="visibility: hidden;">这是文字4</div>
		<div>这是文字5</div>
		<div>这是文字6</div>
		<div>这是文字7</div>
		<div>这是文字8</div>
		<div>这是文字9</div>
	</body>
</html>
